<html>
<head>
    <meta name="layout" content="freshmade">
</head>

<body>

<div id="content-wrapper">
    <div class="center-wrapper">
        <div class="content">
            <div id="main">
                <div class="post">
                    <div class="post-title">
                        <h1>${employee.name}</h1>
                        <g:render template="/template/messageBar"/>
                    </div>


                    <div class="post-button">
                        <g:render template="/template/editdelete"/>
                    </div>

                    <div class="post-date">
                        <g:render template="/template/createdBy2" model="[trace: employee]"/>
                    </div>
                </div>


                <div id="myform">
                    <div class="field">
                        <div class="key2"><g:message code="company.name"/></div>

                        <div class="value">
                            <g:link controller="company" action="show" id="${employee.company.id}">
                                ${employee.company.name}</g:link>
                        </div>

                        <div class="clear"></div>
                    </div>

                    <div class="field">
                        <div class="key2"><g:message code="employee.tel"/></div>

                        <div class="value">
                            ${employee.tel}
                        </div>

                        <div class="clear"></div>
                    </div>

                    <div class="field">
                        <div class="key2"><g:message code="employee.email"/></div>

                        <div class="value">
                            ${employee.email}
                        </div>

                        <div class="clear"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>